// IMessage.aidl
package com.bbyl;

// Declare any non-default types here with import statements
import com.bbyl.IOnReceiveMsgCallback;
import com.bbyl.ISendMsgCallback;
import com.bbyl.im.bean.Message;

interface IMessage {
    /**
     * Demonstrates some basic types that you can use as parameters
     * and return values in AIDL.
     */
    void basicTypes(int anInt, long aLong, boolean aBoolean, float aFloat,
            double aDouble, String aString);

    void registerMsgReceiver(in IOnReceiveMsgCallback iOnReceiveMsgCallback);

    void unRegisterMsgReceiver(in IOnReceiveMsgCallback iOnReceiveMsgCallback);

    void sendMessage(in Message msg , in ISendMsgCallback callback);
}
